package com.atguigu.gulimall.seckill.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 马迎迎
 * @Title: ProductFeignSerivce
 * @Package com.atguigu.gulimall.seckill.feign
 * @Description: TODO(添加描述)
 * @date 2021年06月02日 15:12
 */
@FeignClient("gulimall-product")
public interface ProductFeignSerivce {
    @RequestMapping("/product/skuinfo/info/{skuId}")
    R getSkuInfo(@PathVariable("skuId") Long skuId);
}
